<template>
  <div class="tooltip">
    <el-tooltip effect="light" placement="right">
      <div v-html="str" slot="content"></div>
      <i class="el-icon-info" style="color:#bebebe;margin-left:5px;"></i>
    </el-tooltip>
  </div>
</template>
<script>
  export default {
    name: 'promptMessages',
    data() {
      return {}
    },
    props: {
      str: {
        type: String,
        default() {
          return ''
        }
      }
    }
  }
</script>
